package com.chenqi.myblog.service;

import com.chenqi.myblog.model.Type;
import com.chenqi.myblog.model.User;

import java.util.List;

/**
 * @description: 用户接口
 * @program: myblog
 * @author: ChenQi
 * @create: 2021-02-2021/2/2-09-51
 */
public interface UserService {
    /**
     * 查找全部用户
     * @return
     */
    List<User> findAllUser();

    /**
     * 根据账号查找用户
     */
    User findUserByUsername(String username);

}
